fix reposition problem