added perm_check_ne