Fix py33 compatibility