fix problem with flash area