finish fix code