Fixed WP7 bug