logic fixes, update version