callProcedure implementation changed, check for null for parameters was added