gd() call fix

function calls cannot be passed by reference, so re-add
the old gd() as gd_().