fix #14, python3.4 Type Error