remove unwanted canvas element