Fix overflows, make map name max 47 chars