renamed a few vars in string.h to fix variable shadowing