fix warnings for a silly mistake