got rid of flood table and fixed flood detection