fixed server bug with sign issues