fix time length bug