fix bug with zone not being set