fix preview url incorrect after change base_url