fixing hash, yaml parsing