minor fix for new position. some cases were giving error.