it seems using the flash macro helper here causes compile errors