Removed console.error call