bug with safe zones