bugfix when dealing with boolean or int parameters, normalizing them