internal map: fix bug/potential php notice