fixed a small bug for education rendering