repaired preview mode