Fix param retrieval