Fix disk detection