modify SR detection