fixed "not enough space in directory" error