fix little render bug