workaround for flag