bug fix base offset missing