fixed the issues with workflow