fix QB.init