added several option to handleGlue.jsx