Rating (some small fixes)