hack to log maps