core flow: fix warnings