FIX: new line added to the end of file