Fixed incorrect param lookup