fixed outstanding issues on exporting of baby matrix to csv