validate task and note