fix code test