fix macosx visual problem
fix option dialog size