possible fix for bug
proof of fix