add exception to handle first letter to be capitalize
fix naming issue and correct error message