fixed bugs in strikethrough and delete functions