fixed shut down bug and removed debugging print from server