fixed main
fixed some link