fixes missing fail after the failing statement