fix  main