removed ? from expand_path() call