Fixed issues regarding ask() and fail()