remove code which is not a view