call callback on error
1.0.1