fix bug scrap