fix bug - more than one map appearing