minor fixes and improvments
add: license