forgot rename in file after filename renamed;
query function is splitted off to func.query from edit-replace;