better error handling
fix readme