code clean
fix input note crash