fix removeRollingRamps

the changes in 5f3f6e3a introduced a bug in removeRollingRamps.

The inplace parameter does not work anymore.