Fixed other simple warnings