patch rendering works 90%