catch errors for hashs and ignore
build better
new [onbuild] method