Update heartbroken_bin.py

bug fixes