clean up solution for #171, only show initializer of current element