fix crash at end and remove old args
implement rating searching and improve log style