parse progress to int