removed some unneeded string resets