Fix undefined error when reporting you to a guard