fix const arg foo warning