Fixed _import when referencing states paired with functions