modify the yaml and hash impl