bug fix: seg fault on get position info fail