null checking for localisation during import