fixing salt return.