Fixes flooding problem