Change return value when return fail