fixed check for css parts