checks mx not nil