fixing temp file load