try to fix relocate query