Avoid warning + potential information disclosure

Thanks, pouya @ HackerOne