Make sure settings is an array

Further fixing #23