cleaner formatting with my path->string function