changed enpoint to correct value