trimming order path to fix issue with token