remove xtra packages and console.error