fixed error with rating widget