app: clean up some disabled code