if origin null make it '*'