Fix bug in loading content of an entry due to a wrong offset