patched bugfix