externalize css
correct minor bug