Fixed wrong localisation resolving