generate member fix