delete unused ifdef code