remove console.logs
fix navbar vanishing bug