fix position by date