fixed stylesheet loading bug