Fix bug in params file