fix error message display bug in rate