code fixes to localisation after testing