add log4j2 and fix bug