remobe set_locate method