trim garbage from css