fix problem with unequal size of param and fucntion in  type of execution