saving as a file solves all problems