fixed "too few arguments" for function calls