Remarks on Gröbner basis for ideals under composition