clean up for texture