fix errors. append from another file