fix for unranked maps