better detection when there is no partition