added views\set_type, changed globals key