fix physical mapping and small bug in block course offset count