patched a bug