Fixed error making the UI irresponsive after change of param.