Permanent fix for addpal/delpal.