remove rootview variable