fix formatting in materials