minor, but important fixes for param dict loading