fix err detection
Release 0.0.3