compatible with post parameters.