fix listing before iteration
indentation