fix some warnings
add log4j