fixed bug in shift for SRA