fix unused stuff