Fix delete and remove some left over console.log stuff.