improve the use of version compare
fix css bug in wysiwyg