fix wp8 directory control bug

Ret -> ret