fixed another classcast exc