fix bug when clicking done without working on it first