fix compositeview gen error