Fixed bug in moments read