minor code cleanup in package timer