fix panic message to match new function name