Fixed map loading error. Closes Issue 19.