For some reason the built in EDD function was not working anymore