Fix some warnings

Just some warning fixes.