fix crash when song info is incomplete
autopep8 fix
clean some code