Fix bug in base binding.
Merge pull request #6 from gaurave/fix_base_binding

Fix bug in base binding.