Fixes for bild.py

Can you be more specific here?