fix _handle undefined error

Fix for #19, thoughts?

- @wraithan
- @othiym23