fixed the broken param lookup