fix warnings to allow eos not to be defined in database