fixed map type definition (any doesn't work as keytype)