fix removing views