Fixed getText to relay params correctly