fix bugs and deleted simple views