fixing dereg chunks