fixed value assign bug