fix issue with deallocated maps