bug in preview