Added protection while sending params