fixed map when using number indexes