Avoid IPython warning. thanks @bryant1410. closes #623