remove console.log
only delete bundle if it exists