fix wp8 directory control bug