small updates to make it work in eprints