delete unused drop-at function