Fixed bug produced by change on PyQt