Fixed log crash on WP8