fix code running