fix: condition for preview pages