patched to 0.6.1