Fix flash_helper