fixes #5809 the rating max value is not working