fixed command sequence in preview