Fix minifat problems