                     if Greenhorn.isDown[KEYS[token]]
                         @emit event
             #fire 'isUp' event
-            else if event.match /^isUp:(\w+|\d)$/
+            else if event.match /^isUp:(\w+|\d)/
                 token = event.split(':')[1].toUpperCase()
                 if token.match /-/
                     _emit = false

                    when 'ne'
                        if @get(tokens[0]) != tokens[2]
                            @emit event
        this

    #debugging

class Sprite
    #closures
    _list = []
    _canvas = document.getElementById 'gh-canvas'
    _sortRule = (sp1, sp2) ->
        sp1._dis.level - sp2._dis.level
    _bounds =
        top: _canvas.height / 2
        bottom: -_canvas.height / 2
        right: _canvas.width / 2
        left: -_canvas.width / 2
    _boundaryCallback = (boundAction, side) ->
        #return appropriate callback function
        switch boundAction
