moses: clarify some confusing code.