delete console.log() and alerts
fix views structure