Fixing array out of bounds error when there isn't anyone using the live mapper