Made changes to eden to accomodate for a php bug