bugfix check license