Fix a bug where a parameter that didn't exist was being read