fixing send test email bug in list display