handling errors for the reviews