cleans up some views