fixed non-working map