fixed a bug when memberUrl is empty.