minor correction in the sit function