fixed bug in zone bounds handling