Fix map directive