rating flags fix