cleanup view