fixed issues with rating a trailer and then saving to DB