typo, missing event and extra print for debug