minor change to fix get_target