Note on generalized invex functions