Fixed early instantiation of is_action