fix my pythonlistner mistakes