fixed wierd undefined behavour (selecting wode partition) at first boot.