clean up ui misplacement