fixed small bug, namely getParam/param