tweaks to code to stop duplicate markers being created
tweaks to code to stop duplicate markers being created