set license correctly