fix scafold code