fixed java ref impl for arch indexing
indent fix
added locale to config