Fixing license bug