fixed warning in boObject