avoid regexp to check progress