fixed an null input bug

updated to 1.0.2snapshots