detect tabs in an reverse order