fixed that map inline issue