handle old api
fail gracefully
add deps
1.0.4