"fatal" and "warn" are not valid function references