Douglas tries to avoid state layoffs