replace println by log
update version resolution