mailing, ui
compilation error fix
minor bugs