fixed localisation functions