fixing message URL issue