stop warnings spamming the log