added licenses and mini-fix