Fixed bug on private travel with ajax