improved error handling on capitalization page