Fix minsafe bug
Fix typos in company edit form
Handle null languages