fixed wrong map type