Fixed #108: Fix some warnings