fixed an issue with the form