error message to max and min ange