ALLOC ERROR when casting a package with email