updated resolve_target to work with characters