realy fix missing primary_mon var