log rating correctly