Fixed respond_to errors