restore overwritten code