Removed a log entry with incorrect variable causing mask removal to fail