clean doc controller