fixed up oldposition