fix warnings in ser branch