Bug with manging map objects