fix errors and add page & codes