rendering inconsistency fix