fix map output push index issue.