removed license file, change db to production
fixed sql error