remove try-except and inserted eventhandler