fix preview routes