remove deprecated source codes