update doghouse.lua: fixed some issues