option handling for tasks
remove unnecessary {}