Fixed py3 compatibility