fixed get parameter by name
changed minor glitches