fixed time estimate bug