fixed "Unused" warnings