fixed case issues in region, fixed enter key behavior in html form