view cleanup