fix time related spec failures