fixed pathgrid saving
fixed pathgrid saving again (previous fix was incomplete)