small fix reading EGI