fix repository uri
emit end event