Fix for windows phone 8