made localhost reference go away and removed debugger statements