bug fix order of matching css property was inverted