Fixed issues for Python-3.3