fixing getevent to return obj not list