rebuild the pre code