merge datashare hacks for dspace 1.4