adding redirect filter