fixed issue which prevented last workflow step from being completed