support empty ID references, and workaround for windows store