addParam fix