correction in application_helper
 (in flash_class)