fix preview
Merge pull request #22 from Exoldy/master

close #11