resetting pos before each position calc