fix delay job database