fix bug about values