Fix fetching of parameters from options hash