fixed edit rating bug