fixed flooding issues