make map coordinates 1-based