case preview done properly