Remove console logs and fix missing action handlers