Fixed a bug in get_stylesheets