fix preview_version bug in routes