Fixing SR bug.