fixes for Windows Phone 8