edit materials bugs