passing parameter issue resolved