fixed compilation on WP7
added missing nullables