Fix param passing via g