load preferences into array successfully