bash tid and bug