errors on controller