Fix a bug when company name is invalid scirpt should not fail