Fix getting parameters.