remove all ui related code for being out of scope