Fixed bug with one function, missing parameter