Fix SLS errors