Fix for pyton 3.2