add regHelper to fetch where clause.