fixed problem with archive job