Improve config param retrieval