py bug correction