fix server render bug