settings array slice fixes #2