fix rating on inherited models