Fix stupid bug in params