Fixed for native Python 3 lib