add missing end.
Remove default index.
Fix camel case.