cleaning up materials