License and fixing buggs