Fix indentation
Fix sItemIdGenCurrentIndex not being static