bug fix stobj