minor fix - added i to map