redo import statement for replace_loc