delete legacy gui code