errors with raty