quick fix for undefined function issues from 7a0c074b766b0afdd87cb463a7119512aa5cf88d