Fix material helper