fixing dsa layout bug