url adjustment for messages