fixed annoying map bug