debug of beforeCreate event and introduced new feature in dbInfo