restore to original code