fix filesystem error