Fix warnings for SCN