Correcting paths for sessions