fixed bug in hbo class