License macro fixed