minor cleanup
towards special treatment of gridded ref data