add reload support
init rank