remove unused view variable