fixed chomping issue