fix preview operation to use same settings as document