fix small bug in getPostParameter()