fix mkFailure