this should fix bad maps