fix bugs on rating comands