fixed bug with server port