Fix bad remainder param init