fix seed bugs