fix two bugs. one is floating-point numbers calculation problem in master file. another is parted partition error.