deal with null method name and parameters