fixed the problem of overlapping platforms