fix a couple refactoring errors
working texting