use weakmap for overrides and other bug fixes