fixed regex strings for getting parameters.