make sure that events correctly redirects after creating through API