fix the follow bug in the detail page & add get all rest api