fix change param 'id' by 'model_id' in get categories, and save product image