changed less/css checking method (less parser)