fix panel value setting