Fixed some log4j errors