fix to be able to make temp folder