tiny bugfixes and better error handling
add a small idea about hashes
tiny ideas