fix build error in mandala