fix disk free detection