fixed some stuff left behind