fix compiling
proper master rank