Fixed bug with changes in getParam