fix the ui bug in firefox
fix the pre code bug in ie8