[FIX] Use proper variable for error report