fix warning for shadow of clone