patching bugs with performance improvements