remove unneeded edge-offset during query