image being deleted after hours instead of days