Actually fixed errors in SJF