Fix license checks