fixed bug where function calls always required params