rename prefix variable to eventServicePrefix