get event functions now return location bug fix