auto position correction