Fix getting the param properly

It does not use the standard get from dict