Fixed bug with wrong addressed ajax.