removing #warnings