make plugin working on wp8