fixes from issues
add license