removed two waits and fixed a bug when trying to see if a key already exists
removed two waits and fixed a bug when trying to see if a key already exists

Lao-liu/mist.io,Lao-liu/mist.io,Lao-liu/mist.io,Lao-liu/mist.io