fixed action instance being created too early