fixed done function bug
fixed done function bug
fixed done function bug