Fixed signing bug