bstring-related fix