trimming og management end point url should happen properly