fix auto-generated maps