remove unnecessary view