fix set_position