Fix bug with convertation to scs.