   processDeclaration: ->
     @declarationPart = @transformCssObjectsToJSON(@declarationPart, {replace: true,})
     # process declaration part
-    declarationPart = for line, i in @declarationPart.split('\n')      
+    declarationPart = for line, i in @declarationPart.split('\n') 
+      line = @renameHyphenFunctionName(line)     
       unless /(\'.*\')|(\".*\")/.test(line)
         # escape color values like @color = #fff or rgba(0,0,0,0.5)
         line = line.replace(@pattern.cssColorValues(), " '$1' ")
         # line = line.replace(/\s(rgb[a]*\([\s0-9\.\,]+\))/g, " '$1' ")
+      @renameHyphenFunctionName(line)
       # catch all unspecific value
       if @pattern.isInlineOperation.test(line)
         parts = line.match(/^(\s*)(.*?\=\s*)(.*)$/,line)

      styletext = "\n#{found[0]}\n" + styletext
    # else we try to detect first occurrence of selector and seperate this way 
    else
      #if setBeginIfNotFound
      #  styletext = setBeginIfNotFound + '\n' + @original
      #else
      declarationsEnds = null
      for line in @original.split('\n')
        declarationsEnds = true if @pattern.isLineSelector.test(line) or @pattern.isMediaQuery
        unless declarationsEnds
          declarationPart += '\n'+line
        else 


      @processDeclaration()
      
      @styletext = '\n'+@cleanup(@styletext)

      @processStyleText()
      
      @source = @declarationPart + '\n\n' + @styletext.trim()
      @source = @source.trim()
      @compile()

