Added sdhash vars to defaults, and db columns
Fixed error vs errors naming conflict