* fix a bug for company and adjust sql file.