occupied bug fix