fix for doc controller