fix percent complete error