fixed errors when company has empty values