fix DetLen for 4 ads