take the fixed function i posted and paste it into a new material function or replace the existing pom function