fix move to center script