remove the need of the non standard command "rename"
fixes unittests