License stuff fixed