bugfix regarding form elements not being disabled