fixed multiple bugs in slice-timing module