fixing mandrill err