new ipython gave warnings fixed it
Merge pull request #40 from rajatkapoor/shell_fix

new ipython gave warnings, fixed it