added failure returning if no internal error created