Fixed bug in SRS