Fix bug when logging the place