Add bk string handling, fix warning