some fixes in jworks/ecopit