fix some syntax issues, travis add 3.4 support