Correct various path errors to correct path and id values