fix weird to_hash behaviour
update to 2.0.0