some fixes - warnings