fix notice error when matching internal function arguments and signature used in implementation