fixed error in positions.