fixed some rendering