Fix to css resource problem