more fixes in the bkjs