added the offset for get tv_program