remove undefined view