making marketPrice etc work and not return null