main: fix warning