fixed int v long data type conflict in ecosmodule