modify weakhandler