fix qf and preview not getting their styles applied.