cleanup(view): remove unused code