         loglevel: 'error'
         message: 'Received commands but there is not 2d context attached.'
 
-    @inPorts.every.on 'data', (data) =>
-      @every = data
+    @inPorts.drawevery.on 'data', (data) =>
+      @drawevery = data
 
     @inPorts.clearevery.on 'data', (data) =>
       @clearevery = data

  description: 'Draws received drawing commands'
  icon: 'pencil'
  constructor: ->
    @every = false
    @clearevery = false
    @canvas = null
    @context = null

      
    @inPorts.commands.on 'data', (commands, i) =>
      @commands[i] = commands
      if @drawevery
        @parse @commands


    # @inPorts.commands.on 'detach', (i) =>
    #   @commands.splice i, 1
    #   if @drawevery
    #     @parse @commands


