Fixed the handlers and accessing forms.