modified some ui for preview