fix global gash indents and incorrect api reference