fixes protocol as last location