'gi' function change to 'gig' and fixed the issue with handling parameters.