corrections to distrib detection