cleanup base view