fixed a bug of handleGlue.jsx