support python3 for Queue