SMS: bug fix to search for bin table