fixed map credits
added sample for events