Remove warnings (Fix #827)

Fixed #827.