Fix map show bug with no code