fixed a couple of warnings on non set parameters