fix pre code