fixes pin in server