update for Rust 0.10
satisfy v0.10 lint warnings