fixing error if moving somethiing else then shape