ndata fixes

As discussed http://colabti.org/irclogger/irclogger_log/naev?date=2014-06-06#l52