fix editing compile errors