fixed loading dict fail on orientation change