Fixed a couple of sls dependency bugs