trying to fix redirect after submitting a rating