fix main  layout