partitions check  bugfix