empty arrays fix
Merge branch 'master' of github.com-itdoors:itdoors/sd