fixed #7, thank yulili402