Resolved issue : parameter inside function for operand a or b is not working