fixed user defaults read bug