fix mapfile copy?