fix some bugs

Fixed some syntax bugs, and update requirements.txt..
@tonyseek @HxSeek 
也可以用 list