parse events
parse url