fixed a bug in SRI