hid inactive items and added dummy variables
merge clean_up