added validation for css that cannot be parsed or downloaded