fix the bug of stylesheets