Houses still flooded after dam overflows