fixing some issues in workflow tosca