errors caught properly on mobile