changes for css parsing