Fix bug that can't inspect a capital letter

Fix bug that can't inspect first line starting with a capital letter