added callback to change status immediately
removing localhost