prevent undefined variable Notice on empty param list