put local to true in index