Replace call for JInput::getArray because are wrong