demo file finally works, but not with workflow