custom text edit fix