moses: fix compile error