Fix events url variable