correction with interrupt on SW3 workaround