fix compile error and added multiindex