fixes for rating and admin