fixed limit on random endpoint
fixed syntax