fix frmmain design