code cleanup, renamed ResolveParam to ResolvedParam