solved lat=-90 bug