fix for entry size over 2gb