small fixes for nor_flash, others will follow