fixed bug in move/rename