fix empty file