[graphspell] cut function update