delete a draft functionality bug