further code cleanup in codegen
use four spaces instead of broken mix of tab argument and explicit tabs