Added protection for mngling