remove time check code