fix default visibility
remove console.log