general fixes
fix block device size check