fix max and min angels values