task engine, clear variables accepts index values and variables in the name, fixes #204, fixes #205