small fixes
changed file path in write file
same as before