fixed regex and typo; event creation should be fully working now