Fixed an issue where the showCoords table was being accessed before it was defined