fixed wp8 bug