Fix #287 complete_done problem