fixed fastpd python bugs and readded it