FIX callback from error to fail