Python - Bugs Fixed