fix bug with tasks with status "Open"