made defaults of class file and preview page same