bug fix space map