fix first round of compile issues in polling/reset code