Maybe fix invalid parameters?