added console.log fix