remove issue with max value