fix bug with checkbox task complete