fix return of softmaxact