remove invalid import links