Fixed some bugs regarding sender url