fixed overlapping test