fixed bug where server didn't listen properly